package com.zqh.app.manager;

import com.zqh.app.entity.Count;
import com.zqh.app.entity.Notice;
import com.zqh.common.entity.Page;
import com.zqh.common.entity.Query;

import java.util.List;

public interface AppCountManager {
    List<Count> countTotal(Page<Count> page, Query query);

    List<Count> countTotalDevice(Query query);

    List<Count> countSex(Query query);

    List<Count> countTotalViscera(Query query);

    List<Count> countTotalSleep(Query query);

    List<Count> countTotalSport(Query query);

    List<Count> countTotalLocation(Query query);

    List<Count> countTotalAge(Query form);

    List<Count> listForPage(Page<Count> page, Query form);

    Count mainCountTotal(Query query);

    int saveStatistics(Query query);
}
